package com.superMarket.project.domain;

/**
 * 消费满减实体类
 * @author mrguo
 * @date 2024/11/04
 */
public class ConsumptionReduction {
    /**
     * 购物总价达到多少享受减免
     */
    private double reduceStandard = 0d;

    /**
     * 减免金额
     */
    private double reduceAmount = 0d;

    public ConsumptionReduction(){
    }

    public ConsumptionReduction(double reduceStandard, double reduceAmount){
        this.reduceStandard = reduceStandard;
        this.reduceAmount = reduceAmount;
    }

    public double getReduceStandard() {
        return reduceStandard;
    }

    public void setReduceStandard(double reduceStandard) {
        this.reduceStandard = reduceStandard;
    }

    public double getReduceAmount() {
        return reduceAmount;
    }

    public void setReduceAmount(double reduceAmount) {
        this.reduceAmount = reduceAmount;
    }
}